package com.hvtt.web.models;

import java.io.Serializable;

public class C_search implements Serializable{
	private long iD = 0;
	private String userID = "";
	private long hangXeID = 0;
	private long doiXeID = 0;
	private int namXanXuat = 0;
	private double giaCaoNhat = 0;
	private String tinhID = "";
	private double soKMDaDi = 0;
	private String key1 = "";
	private String key2 = "";
	public C_search() {}
	public C_search (long iD,String userID,long hangXeID,long doiXeID,int namXanXuat,double giaCaoNhat,String tinhID,double soKMDaDi,String key1,String key2){
		this.iD = iD;
		this.userID = userID;
		this.hangXeID = hangXeID;
		this.doiXeID = doiXeID;
		this.namXanXuat = namXanXuat;
		this.giaCaoNhat = giaCaoNhat;
		this.tinhID = tinhID;
		this.soKMDaDi = soKMDaDi;
		this.key1 = key1;
		this.key2 = key2;
	}
	public long getID(){return iD;}
	public void setID(long iD){ this.iD = iD;}
	public String getUserID(){return userID;}
	public void setUserID(String userID){ this.userID = userID;}
	public long getHangXeID(){return hangXeID;}
	public void setHangXeID(long hangXeID){ this.hangXeID = hangXeID;}
	public long getDoiXeID(){return doiXeID;}
	public void setDoiXeID(long doiXeID){ this.doiXeID = doiXeID;}
	public int getNamXanXuat(){return namXanXuat;}
	public void setNamXanXuat(int namXanXuat){ this.namXanXuat = namXanXuat;}
	public double getGiaCaoNhat(){return giaCaoNhat;}
	public void setGiaCaoNhat(double giaCaoNhat){ this.giaCaoNhat = giaCaoNhat;}
	public String getTinhID(){return tinhID;}
	public void setTinhID(String tinhID){ this.tinhID = tinhID;}
	public double getSoKMDaDi(){return soKMDaDi;}
	public void setSoKMDaDi(double soKMDaDi){ this.soKMDaDi = soKMDaDi;}
	public String getKey1(){return key1;}
	public void setKey1(String key1){ this.key1 = key1;}
	public String getKey2(){return key2;}
	public void setKey2(String key2){ this.key2 = key2;}
	public void resetAttribute() {
		iD = 0;
		userID = "";
		hangXeID = 0;
		doiXeID = 0;
		namXanXuat = 0;
		giaCaoNhat = 0;
		tinhID = "";
		soKMDaDi = 0;
		key1 = "";
		key2 = "";
	}
}